<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>登陆</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<script src="../js/jquery-1.11.0.min.js"></script>
<script>
function dele(){
	$.ajax({url:"${ctx}/deleteglobal?akey="+$("#delet").val(),
		type:"post",
		dataType:'json',
		success:function(date){
			alert(${go});
		}
	})
}

</script>
  </head>
  <body>
    <form action="/wechat_wsd/adduser" method="post">
    	mingcheng：<input type="text" name="configkey"><br/>
    	passWord：<input type="text" name="configvalue"><br/>
    	<input type="submit" value="添加用户">
    </form>
    请输入用户名：<input type="text" id="delet"><br/>
    <input type="button" value="删除用户" onclick="dele()">
    <a href="/wechat_wsd/getlistglobal">获取人员名单</a>
    <ul>
    	<li>用户名：</li>
    	<li>代号：</li>
    	<li>开始时间：</li>
    	<li>结束时间：</li>
    </ul>
  </body>
</html>
